﻿/*
    Write a program that asks for a digit (0-9), and depending on the input, shows the digit as a word (in English).
    Print “not a digit” in case of invalid input.
    Use a switch statement.
 */
using System;
class DigitAsWord
{
    static void Main()
    {
        Console.WriteLine("Enter digit: ");
        int digit = int.Parse(Console.ReadLine());

        switch (digit)
        {
            case 1: Console.WriteLine("one");
                break;
            case 2: Console.WriteLine("two");
                break;
            case 3: Console.WriteLine("three");
                break;
            case 4: Console.WriteLine("Four");
                break;
            case 5: Console.WriteLine("Five");
                break;
            case 6: Console.WriteLine("Six");
                break;
            case 7: Console.WriteLine("Seven");
                break;
            case 8: Console.WriteLine("Eight");
                break;
            case 9: Console.WriteLine("Nine");
                break;
            default: Console.WriteLine("not a digit");
                break;
        }
    }
}

